home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 020a / etak_map.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-08-07  |  594b  |  31 lines

  1. echo off
  2. if /%1 == / goto help
  3. if exist mapdemo.exe goto found
  4. if exist win3demo.exe goto found
  5. goto notfound
  6. :found
  7. md %1\mapdemo
  8. echo  
  9. echo Copying files to %1\mapdemo...
  10. echo  
  11. copy *.* %1\mapdemo
  12. echo  
  13. for %%x in (%1\mapdemo\*.exe) do echo The demo program has been installed as %%x
  14. echo  
  15. goto end
  16. :notfound
  17. echo  
  18. echo You must run INSTALL with the floppy disk as the current drive
  19. echo  
  20. echo Example -- A:
  21. echo            INSTALL C:
  22. echo  
  23. goto end
  24. :help
  25. echo  
  26. echo You must specify a disk drive.
  27. echo  
  28. echo Example -- INSTALL C:
  29. echo  
  30. :end
  31.